home *** CD-ROM | disk | FTP | other *** search
/ PC for Alla 2005 May / PC för Alla 0505.iso / fullversioner / realsoft3d / data1.cab / Scripting / scripts / js / real / primgad / p3subdiv.js < prev    next >
Encoding:
JavaScript  |  2005-04-04  |  1.5 KB  |  67 lines

  1.  
  2. // JavaScript wrapper for p3subdiv.h
  3. // Auto generated file, do not modify by hand
  4. // Copyright ⌐ 2004, Realsoft Graphics Oy
  5.  
  6. var R3_SUBDIVISIONPROPGADGET_H = 1;
  7. include("real/primgad/p3level.js")
  8.  
  9.  
  10. var R3CLID_SUBDIVISIONPROPGADGET = 1238;
  11.  
  12.  
  13.  
  14.  
  15. // Description: for mapchanges. Sent when a point is selected through the gadget.
  16.  
  17. R3SUBDIVGDM_SELECTPOINT = 1238000;
  18.  
  19. function mR3SUBDIVGDM_SELECTPOINT() {
  20.   DoA(this.r3obj, 1238000, 0, R3TID_INTEGER, 0);
  21. }
  22.  
  23. // Description: for mapchanges. Send when the position of the selected point is defined.
  24.  
  25. R3SUBDIVGDM_SETPOINT = 1238001;
  26.  
  27. function mR3SUBDIVGDM_SETPOINT() {
  28.   DoA(this.r3obj, 1238001, 0, R3TID_INTEGER, 0);
  29. }
  30.  
  31. // Description: for mapchanges. Sent when subdivision type is changed.
  32.  
  33. R3SUBDIVGDM_TYPE = 1238002;
  34.  
  35. function mR3SUBDIVGDM_TYPE() {
  36.   DoA(this.r3obj, 1238002, 0, R3TID_INTEGER, 0);
  37. }
  38.  
  39. // Description: for mapchanges. Sent when selection resolution is changed.
  40.  
  41. R3SUBDIVGDM_SELECTRESOLUTION = 1238003;
  42.  
  43. function mR3SUBDIVGDM_SELECTRESOLUTION() {
  44.   DoA(this.r3obj, 1238003, 0, R3TID_INTEGER, 0);
  45. }
  46.  
  47.  
  48.  
  49.  
  50.  
  51.  
  52. function r3Subdivisionpropgadget () { 
  53.    this.base = r3God;
  54.    if(arguments.length) {
  55.       this.base(R3CLID_SUBDIVISIONPROPGADGET, arguments);
  56.    }
  57.    // Methods
  58.    this.SELECTPOINT=mR3SUBDIVGDM_SELECTPOINT;
  59.    this.SETPOINT=mR3SUBDIVGDM_SETPOINT;
  60.    this.TYPE=mR3SUBDIVGDM_TYPE;
  61.    this.SELECTRESOLUTION=mR3SUBDIVGDM_SELECTRESOLUTION;
  62.  
  63.    // Attributes
  64. }
  65.  
  66. r3Subdivisionpropgadget.prototype=new r3Levelgadget;
  67. // p3subdiv.h_H